package com.hangkong.dao;

import com.hangkong.model.passengerinfo;
import com.hangkong.model.torder;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.sql.Timestamp;
import java.util.List;

@Repository
public interface passengerinfoMapper {

    int deleteByPrimaryKey(String id);


    int insert(passengerinfo record);


    int insertSelective(passengerinfo record);


    passengerinfo selectByPrimaryKey(String id);


    int updateByPrimaryKeySelective(passengerinfo record);


    int updateByPrimaryKey(passengerinfo record);

    Integer insertPassenger(@Param("passname")String s, @Param("idtype") String arrayZjlx,
                            @Param("idno")String s1, @Param("orderid")String orderId,
                            @Param("createtime")Timestamp timeStamp);


    List<torder> selectByOrderId(@Param("orderId")String orderId);
}